package com.aabte.design.pattern.structural.decorator.v2;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
public class BattercakeDecorator extends AbstractBattercake {

    protected AbstractBattercake battercake;

    @Override
    public String getDesc() {
        return battercake.getDesc();
    }

    @Override
    public int getCost() {
        return battercake.getCost();
    }
}
